<?php
header("Content-type: text/html; charset=utf-8");
ini_set('display_errors',1);
set_time_limit(0); 
include_once dirname(dirname(__FILE__)).'/mgtv_init.php';
define('ORG_ID', 'core');
include_once dirname(dirname(__FILE__)) . '/'.ORG_ID.'/init.php';
//echo dirname(dirname(dirname(__FILE__))) . '/'.ORG_ID.'/init.php';die();
include_once dirname(dirname(__FILE__)) .'/models/queue_task_model.php';


$queue_task_model = new queue_task_model();	

$sps = sp_model::get_sp_list();
foreach ($sps as $key => $value) {
	$re = $queue_task_model->q_get_clip_task($value['nns_id'],100);
}



var_dump($re,$queue_task_model);